package com.mop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.mop.vo.ItemVo;
import lombok.Data;

import lombok.experimental.Accessors;


import java.util.List;

@Data
@Accessors(chain = true)
@TableName("item")
public class Item extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String sex;
    private String birthday;
    private String number;
    private String marital;
    private String natio;
    private String origo;
    private String email;
    private String iphone;
    private String address;
    private String department;
    private String position;
    private String rank;
    private String hire;
    private String ondata;
    private String education;
    private Boolean status;
    @TableField(exist = false)
    private List<ItemDepartment> itemDepartments;
    private List<ItemEducation> itemEducations;
    private List<ItemHire> itemHires;
    private List<ItemMarital> itemMaritals;
    private List<ItemPosition>itemPositions;
    private List<ItemRank> itemRanks;
//    @TableField(exist = false)
//    private List<ItemTab> itemTabs;

}
